package cn.doitedu.kafka;

public class TeacherTest {

    public static void main(String[] args) {

        Teacher c1 = new Teacher(180,"雨哥");

        // 构造方法可以让用户在构造一个对象时，就指定这个对象的各种属性值
        Teacher c2 = new Teacher(120,"行哥");


    }
}
